import Mock from 'mockjs'
// 增加收藏
const data = Mock.mock({
    "data":[
        
    ]
})
Mock.mock('/addLike','post',(config)=>{
    const req = JSON.parse(config.body)
    console.log(req);
    data.push(req)
    return {
        code:'200',
        msg:'添加成功'
    }
})